package com.eshopkeeper.dao.sys;

import com.eshopkeeper.core.base.BaseMapper;
import com.eshopkeeper.model.sys.SysRoleMenu;
import org.apache.ibatis.annotations.Param;

import java.util.List;

public interface SysRoleMenuMapper extends BaseMapper<SysRoleMenu> {

    List<String> queryPermission(@Param("roleId") Long id);

    List<String> getPermissions(@Param("roleId") Long id);
}
